home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Script Debuger.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
792b
|
42 lines
[SUBJECT]
Description=Reports to you JavaScript errors as they happen in a box on the screen
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function reportError(msg,url,line) {
;var str = "Err: " + msg + " on line: "
;+ line + "\nURL: " + url + "\nWeb: "
;+ navigator.appName + " " + navigator.appName
;+ " " + navigator.appVersion;
;document.errform.error.value = str;
;return true;
;}
;window.onerror = reportError;
;// End -->
;</script>
;
[BODY_TEXT]
;<form name="err">
;<input type="button" value="Cause JS Error" onClick="brokenScript()">
;</form><p>
;<form name="errform">
;<textarea name="error" rows="`rows`" cols="`cols`"></textarea>
;</form>
;
[`rows`]
Kind=S
Value=5
[`cols`]
Kind=S
Value=70